
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <!-- import Vue before Element -->
    <script src="https://unpkg.com/vue/dist/vue.js"></script>
    <!-- import JavaScript -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
    <!-- ajax -->
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <script>

        axios.defaults.headers['X-Requested-With'] = 'XMLHttpRequest';
        axios.defaults.headers['HTTP_X_REQUESTED_WITH'] = 'XMLHttpRequest';

        // 添加响应拦截器
        axios.interceptors.response.use(function (response) {
            // 对响应数据做点什么
            return response;
        }, function (error) {
            // 对响应错误做点什么
            alert(error.response.data);
            return Promise.reject(error);

        });

        function getSelectString(obj,keys) {
            var arr = [];
            for( var i = 0; i <keys.length; i++ ){
                var key=keys[i];

                if (obj[key]) {
                    arr.push(key + "=" + encodeURIComponent(obj[key]));
                }
            }
            return arr.join("&");
        }



    </script>
    <style>
        .el-header, .el-footer {
            background-color: #545c64;
            color: #333;
            text-align: center;
            line-height: 60px;
        }


    </style>


    <style>
        .el-row {
            margin-bottom: 20px;
        &:last-child {
             margin-bottom: 0;
         }
        }
        .el-col {
            border-radius: 4px;
        }
        .bg-purple-dark {
            background: #99a9bf;
        }
        .bg-purple {
            background: #d3dce6;
        }
        .bg-purple-light {
            background: #e5e9f2;
        }
        .grid-content {
            border-radius: 4px;
            min-height: 36px;
        }
        .row-bg {
            padding: 10px 0;
            background-color: #f9fafc;
        }


        .rem{
            color:  #909399;
            font-size: 12px
        }
    </style>


</head>
<body>

<div id="app">


    <el-container>
        <el-header>

            {include file="public/header" /}

        </el-header>
        <el-main>

            {block name="main"}{/block}


        </el-main>
        <!--<el-footer>

            {include file="public/footer" /}
        </el-footer>-->
    </el-container>


</div>
</body>
{block name="js"}{/block}
</html>




